<%--
  Created by IntelliJ IDEA.
  User: DELL
  Date: 2024/9/3
  Time: 10:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <title>Space</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            text-align: center;
        }
        form {
            margin: 50px auto;
            width: 300px;
            padding: 20px;
            border: 1px solid #ccc;
            border-radius: 5px;
            background-color: #f9f9f9;
        }
        input[type="text"],
        input[type="password"],
        input[type="submit"] {
            width: 100%;
            padding: 10px;
            margin: 5px 0;
            display: inline-block;
            border: 1px solid #ccc;
            box-sizing: border-box;
            border-radius: 5px;
        }
        input[type="submit"] {
            background-color: #4CAF50;
            color: white;
            border: none;
            cursor: pointer;
        }
    </style>
</head>
<body>
<h2>欢迎登录Space</h2>
<form action="/loginServlet" method="post">
    <label for="userName">用户名:</label><br>
    <input type="text" id="userName" name="userName" required><br>
    <label for="passWord">密码:</label><br>
    <input type="password" id="passWord" name="passWord" required><br>
    <div><strong>${message}</strong></div>
    <input type="submit" value="登录">
</form>
</body>
</html>

